﻿import { axios } from '@/utils/request'

/**
 * 查询运营日报
 *
 * @author lixinyang
 */
export function DayReportPage (parameter) {
  return axios({
    url: '/FinanceReportDay/page',
    method: 'get',
    params: parameter
  })
}

/**
 * 运营日报列表
 *
 * @author lixinyang
 */
export function DayReportList (parameter) {
  return axios({
    url: '/FinanceReportDay/list',
    method: 'get',
    params: parameter
  })
}

/**
 * 添加运营日报
 *
 * @author lixinyang
 */
export function DayReportAdd (parameter) {
  return axios({
    url: '/FinanceReportDay/add',
    method: 'post',
    data: parameter
  })
}

/**
 * 编辑运营日报
 *
 * @author lixinyang
 */
export function DayReportEdit (parameter) {
  return axios({
    url: '/FinanceReportDay/edit',
    method: 'post',
    data: parameter
  })
}

/**
 * 删除运营日报
 *
 * @author lixinyang
 */
export function DayReportDelete (parameter) {
  return axios({
    url: '/FinanceReportDay/delete',
    method: 'post',
    data: parameter
  })
}

/**
 * 同步HIS数据到平台
 *
 * @author lixinyang
 */
export function SyncPlatformHisReport (parameter) {
  return axios({
    url: '/FinanceReportDay/SyncPlatformHisReport',
    method: 'post',
    data: parameter
  })
}
